package com.doge.walknovel.api.model

data class UserInfo(
    val memberId: Int,
    val nickName: String?,
    val profilePicture: String?,
    val gender: Int?,
    val memberDescribe: String?,
    val memberLevel: Int?,
    val coinNum: Int?
) {
    val isLogin: Boolean get() = memberId > 0

    companion object {
        val EMPTY = UserInfo(
            0, "Visitor", "",
            0, "ID", 0, 0
        )
    }
}